'use strict';

/**
 * 配置相关接口
 */
const customCtrl = require('../../controllers/custom');
const router = require('koa-router')();

//查询logo
router.get("/query_logo", customCtrl.query_logo);

router.get("/query_custom_detail", customCtrl.query_custom_detail);

router.get("/query_custom_detail_app", customCtrl.query_custom_detail_app);

router.get("/query_users_show", customCtrl.query_users_show);

//查询自定义配置
router.get("/query", customCtrl.query_custom_detail);
//添加自定义配置
router.post("/add", customCtrl.add);
//更新自定义配置
router.post("/update", customCtrl.update);
//删除自定义配置
router.post("/delete", customCtrl.del);

module.exports = router;
